package cn.study.luckyclient.dto;

import com.alibaba.cola.dto.Command;
import lombok.Data;

import javax.validation.constraints.NotNull;
@Data
public class UserRegisterCmd extends Command {
    @NotNull(message = "账号不为空")
    private String userName;
    @NotNull(message = "密码不为空")
    private String password;
    @NotNull(message = "姓名不为空")
    private String name;
    @NotNull(message = "电话不为空")
    private String phone;
}
